<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head><title>Crea Pacchetto Viaggio</title></h:head> 
<body>

	<p:toolbar>
		<p:toolbarGroup>
		<p:button outcome="index.xhtml" value="Pagina Personale" />
		</p:toolbarGroup>
	</p:toolbar>
	<h:form>  
    <p:dataList id="listaEscursioni" value="id"  itemType="disc" >  
    #{gestioneEscursione.escursione.idEscursione} 
	</p:dataList>
	<p:commandButton value="prova" action="#{gestioneEscursione.prova()}" update="listaEscursioni"  />
	
	<p:dataList id="lista2Escursioni" value="#{gestioneEscursione.allEscursioni}" var="esc" itemType="disc" >  
    #{esc.idEscursione} 
    #{esc.nomeEscursione}
	</p:dataList>
	
	<p:dataList id="lista3Escursioni" value="#{gestioneEscursione.escursioneDTOs}" var="esc2" itemType="disc" >  
    #{esc2.idEscursione} 
    #{esc2.nomeEscursione}
	</p:dataList>
	
	<p:dataList id="lista4Escursioni" value="#{gestioneEscursione.allIDEscursioni}" var="esc3" itemType="disc" >  
    #{esc3.toString()} 
	</p:dataList>
	
	<p:dataList id="lista5Escursioni" value="#{gestioneEscursione.idEscursioni}" var="esc4" itemType="disc" >  
    #{esc4.toString()} 
	</p:dataList>
   
</h:form>   
</body> 
</html>
